package com.nuc.bigdata.orm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuc.bigdata.orm.entity.PhotoNewsCategory;
import org.apache.ibatis.annotations.Param;

/**
 * @author JackLuo
 * @date 2019/11/26
 */
public interface PhotoNewsCategoryMapper extends BaseMapper<PhotoNewsCategory> {
    /**
     *
     * @param pnId
     * @return
     */
    PhotoNewsCategory selectByPnId(@Param("pnId")String pnId);

    /**
     * 删除资讯所属菜单记录
     * @param pnId
     */
    void deleteByPnId(@Param("pnId")String pnId);
}
